package com.hntest.entity;

import java.util.Date;

/**
 * IP登录日志，对应于【IP登录查询】(分会员用户和后台管理员【客服】)
 * @author xu
 *
 */
public class IpLog extends BaseDomain{

	/**
	 * 
	 */
	private static final long serialVersionUID = -8673340929829797770L;
	public static final int LOGIN_SUCCESS=1;//登录成功
	public static final int LOGIN_FAIL=0;//登录成功
	private String ip;//ip地址
	private int loginState=LOGIN_SUCCESS;//登录情况（成功/失败）
	private String userName="";//登录用户名
	private Long loginType;//登录用户类型（等同于LoginInfo中的userType）
	private Date loginTime=new Date();
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public int getLoginState() {
		return loginState;
	}
	public void setLoginState(int loginState) {
		this.loginState = loginState;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public Long getLoginType() {
		return loginType;
	}
	public void setLoginType(Long loginType) {
		this.loginType = loginType;
	}
	public Date getLoginTime() {
		return loginTime;
	}
	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}
	
	
}
